![]() |
PATH![]() |
![]() ![]() |
The UAMMessage structure is used by the client UAM to pass information back to the AFP client when the client UAM calls the AFP client's OpenRequest and SendRequest callback routines. A UAMMessage structure is also passed as a parameter to the client UAM's completion routine.
struct UAMMessage {
short commandCode;
short sessionRefNum;
unsigned char *cmdBuffer;
unsigned long cmdBufferSize;
unsigned char *replyBuffer;
unsigned long replyBufferSize;
CompletionPtr *completion;
void *contextPtr;
};
typedef struct UAMMessage UAMMessage, *UAMMessagePtr;